package org.wlgzs.shop.service;

import org.wlgzs.shop.bean.PostMoney;

import java.util.List;

/**
 * @Author: Ben
 * @Date: 2019/5/22 21:05
 * @Project org.wlgzs.shop
 */
public interface IPostMoneyService {
    /**
     * 增加邮费
     * @param postMoney
     * @return int
     */
    int insertPostMoneyIPostMoneyService(PostMoney postMoney);

    /**
     * 根据邮费id删除邮费
     * @param postId
     * @return int
     */
    int deletePostMoneyIPostMoneyService(int postId);

    /**
     *根据邮费id更改邮费
     * @param postMoney
     * @return int
     */
    int updatePostMoneyIPostMoneyService(PostMoney postMoney);

    /**
     * 根据邮费id查询邮费信息
     * @param postId
     * @return List<PostMoney>
     */
    List<PostMoney> selectPostMoneyIPostMoneyService(int postId);
}
